package com.hk.service.conver;

import com.hk.domain.entity.Product;
import com.hk.domain.entity.Product2;
import com.hk.domain.entity.ProductDTO;
import com.hk.domain.entity.ProductDTO2;
import org.mapstruct.Mapper;
import org.mapstruct.factory.Mappers;

import java.util.List;

@Mapper
public interface AssemblerList {

    AssemblerList INSTANSE = Mappers.getMapper(AssemblerList.class);

    ProductDTO objectToDTO(Product product);

    List<ProductDTO> listToDTO(List<Product> product2s);

}
